/**
 * @author Tobias Boehm
 *
 * 01.04.2011
 */
package org.anddev.andengine.extension.tbsengine.region;

import org.anddev.andengine.extension.tbsengine.gameobject.Unit;
import org.anddev.andengine.extension.tbsengine.gameobject.Unit.IUnitUsedAbilityListener;
import org.anddev.andengine.extension.tbsengine.gameobject.ability.AbsAbility;
import org.anddev.andengine.extension.tbsengine.gameobject.ability.MovementAbility;


/**
 * @author Tobias Boehm
 *
 */
public class FogOfWarRegion	extends AbsRegion implements IUnitUsedAbilityListener {


	@Override
	public void unitUsedAbility(Unit pUnit, AbsAbility pUsedAbility) {
		
		if(pUsedAbility instanceof MovementAbility ){
	
			this.recalculateAffectedMaptiles(pUnit);
		}
	}

	@Override
	protected void recalculateAffectedMaptiles(Object... pParameters) {
		
		
		
	}
}
